<template>
  <div :style="'height:' + height">
    <iframe
      :src="url"
      frameborder="no"
      style="width: 100%; height: 100%; padding: 0"
    />
  </div>
</template>

<script>
export default {
  data() {
    return {
      height: document.documentElement.clientHeight - 71.5 + "px;",
      url: "http://localhost:8081/doc.html",
    };
  },
  mounted() {
    window.onresize = function temp() {
      that.height = document.documentElement.clientHeight - 94.5 + "px;";
    };
  },
};
</script>

<style>
</style>